﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pattern22命令模式.Base
{
    public abstract class CommandBase
    {
        protected IReceiver receiver;
        public CommandBase(IReceiver receiver)
        {
            this.receiver = receiver;
        }

        public abstract void Execute();
    }
}
